package com.irdstudio.efp.rule.service.vo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Objects;

/**
 * 产品信息
 */
public class PrdInfoEntity implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	/** 单笔最小金额(含) */
	private BigDecimal crdAprvMinAmt;
	/** 单笔最高金额(含) */
	private BigDecimal crdAprvMaxAmt;
	/** 最小支用金额(含) */
	private BigDecimal loanAppMinAmt;
	/** 最大支用金额(含) */
	private BigDecimal loanAppMaxAmt;
	/** 授信期限值(即: 产品期限 ) */
	private int creditTerm;
	
	public BigDecimal getCrdAprvMinAmt() {
		if (Objects.isNull(crdAprvMinAmt))
			crdAprvMinAmt = new BigDecimal(0);
		return crdAprvMinAmt;
	}
	public void setCrdAprvMinAmt(BigDecimal crdAprvMinAmt) {
		this.crdAprvMinAmt = crdAprvMinAmt;
	}
	public BigDecimal getCrdAprvMaxAmt() {
		if (Objects.isNull(crdAprvMaxAmt))
			crdAprvMaxAmt = new BigDecimal(0);
		return crdAprvMaxAmt;
	}
	public void setCrdAprvMaxAmt(BigDecimal crdAprvMaxAmt) {
		this.crdAprvMaxAmt = crdAprvMaxAmt;
	}
	public BigDecimal getLoanAppMinAmt() {
		if (Objects.isNull(loanAppMinAmt))
			loanAppMinAmt = new BigDecimal(0);
		return loanAppMinAmt;
	}
	public void setLoanAppMinAmt(BigDecimal loanAppMinAmt) {
		this.loanAppMinAmt = loanAppMinAmt;
	}
	public BigDecimal getLoanAppMaxAmt() {
		if (Objects.isNull(loanAppMaxAmt))
			loanAppMaxAmt = new BigDecimal(0);
		return loanAppMaxAmt;
	}
	public void setLoanAppMaxAmt(BigDecimal loanAppMaxAmt) {
		this.loanAppMaxAmt = loanAppMaxAmt;
	}
	public int getCreditTerm() {
		return creditTerm;
	}
	public void setCreditTerm(int creditTerm) {
		this.creditTerm = creditTerm;
	}
}
